package org.jdbc_test.dao;

import org.jdbc_test.entity.Staffs;

import java.util.List;

/**
 * @author ZJL
 * @date 2025-02-24
 */
public interface StaffsDao {

    List<Staffs> staffsListLimit(Integer limit, Integer offset);

    int addStaffs(Staffs staffs);

    int updateStaffs(Staffs staffs);

    int deleteStaffs(int id);

    Staffs getStaffsLimit(int id,Integer limit,Integer offset);
}
